package com.gae.blore.client.domain;

import java.io.Serializable;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 * Domain model for Hospital
 * 
 * @author nss
 * 
 */
@PersistenceCapable
public class Hospital extends Place implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4564851675258217346L;

	@Persistent
	private String spec;

	@Persistent
	private String phone;

	@Persistent
	private String url;

	@Persistent
	private String email;

	@Persistent
	private String workingHrs;

	@Persistent
	private Integer numOfBeds;

	public Hospital() {
	}

	public Hospital(String name, double lng, double lat, String add,
			String land, String spec, String phone, String url, String email) {
		super(name, lng, lat, add, land);

		this.spec = spec;
		this.phone = phone;
		this.url = url;
		this.email = email;

	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWorkingHrs() {
		return workingHrs;
	}

	public void setWorkingHrs(String workingHrs) {
		this.workingHrs = workingHrs;
	}

	public Integer getNumOfBeds() {
		return numOfBeds;
	}

	public void setNumOfBeds(Integer numOfBeds) {
		this.numOfBeds = numOfBeds;
	}

}
